﻿<%@ Page Language="C#" MasterPageFile="~/Design/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="DutyPerformSrhForm.aspx.cs" Inherits="App_Search_DutyPerformSrhForm" Title="工作任务查询" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table class="table_border_line">
        <tr>
            <td align="left">

                <script language="javascript">
                    (new TitleBar('SearchBar', '检索条件')).showBar();
                </script>

            </td>
        </tr>
    </table>

    <table border="0" class="table_border_line" style="background: ffffff">
        <tr>
            <td class="list_data_bg_left" style="white-space: nowrap; height: 28px;">
                <table border="0" class="table_border_line" style="background: ffffff">
                    <tr>
                        <td width="16">
                            &nbsp;</td>
                        <td width="85">
                            员工编号</td>
                        <td colspan="4">
                            <asp:TextBox ID="txtEmployeeId" runat="server" MaxLength="4" Width="67px" />
                            <asp:TextBox
                                ID="txtEmployeeName" runat="server" Width="71px" BackColor="#E0E0E0" BorderColor="#E0E0E0"
                                ForeColor="Black" contentEditable="false"></asp:TextBox>
                                <a href="#" onclick="javascript:popupEmployeeSearch('<%=txtEmployeeId.ClientID %>','<%=txtEmployeeName.ClientID %>')">
                                <img id="searchImg" runat="server" src="../../images/search.jpg" border="0" />
                            </a>
                        </td>
                    </tr>
                    <tr>
                        <td width="16">
                        </td>
                        <td width="85">
                            会员编号</td>
                        <td>
                            <asp:TextBox ID="txtMemberNo" runat="server" MaxLength="12" Width="92px"></asp:TextBox>
                            <asp:TextBox ID="txtMemberName" runat="server" Width="89px" BackColor="#E0E0E0" BorderColor="#E0E0E0"
                                ForeColor="Black" contentEditable="false"></asp:TextBox>
                            <a href="#" onclick="javascript:popupMemberSearch('<%=txtMemberNo.ClientID%>', '<%=txtMemberName.ClientID %>' );">
                                <img id="Img1" runat="server" src="../../images/search.jpg" border="0" />
                            </a>
                            &nbsp; &nbsp; &nbsp; &nbsp; 房间号 <asp:TextBox ID="txtApartmentNo" runat="server" MaxLength="6" Width="80" />
                        </td>
                        <td width="85"><br />
                        </td>
                        <td width="160"><br />
                        </td>
                        <td><br />
                        </td>
                    </tr>
                    <tr>
                        <td width="16">
                        </td>
                        <td width="85">
                            工作分类</td>
                        <td>
                            <asp:DropDownList ID="ddlItemType" runat="server" DataTextField="Content" DataValueField="DictNo">
                            </asp:DropDownList>
                        </td>
                        <td width="85"><br />
                        </td>
                        <td width="160"><br />
                        </td>
                        <td><br />
                        </td>
                    </tr>
                    <tr>
                        <td width="16">
                        </td>
                        <td width="85">
                            完成日期</td>
                        <td>
                            <asp:TextBox ID="txtBeginDate" runat="server" MaxLength="10" Width="120px" /> ～
                            <asp:TextBox ID="txtEndDate" runat="server" MaxLength="10" Width="120px" />
                            &nbsp;<asp:Button ID="btnSearch" runat="server" Text=" 检 索 " OnClick="btnSearch_Click" />
                        </td>
                        <td width="85"><br />
                        </td>
                        <td width="160"><br />
                        </td>
                        <td><br />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    
    <p>&nbsp;</p>

    <div id="panResultBar" runat="server">
    <script language="javascript">
        (new TitleBar('ResultBar', '查询结果')).showBar();
    </script>
    </div>
    <asp:GridView ID="GridViewResult" runat="server" AllowPaging="True" AutoGenerateColumns="False"
        CssClass="GridView_table" Width="100%" OnRowDataBound="GridViewResult_RowDataBound"
        DataKeyNames="DutyFeedBackId, Special" OnRowCommand="GridViewResult_RowCommand" OnPageIndexChanging="GridViewResult_PageIndexChanging"
        >
        <Columns>
            <asp:BoundField HeaderText="员工编号">
                <HeaderStyle CssClass="GridView_head_grayblue" Width="150px" />
                <ItemStyle CssClass="GridView_item_center" />
            </asp:BoundField>
            <asp:BoundField HeaderText="会员姓名">
                <HeaderStyle CssClass="GridView_head_grayblue" />
                <ItemStyle CssClass="GridView_item_center" Width="150px" />
            </asp:BoundField>
            <asp:BoundField HeaderText="房间编号">
                <HeaderStyle CssClass="GridView_head_grayblue" />
                <ItemStyle CssClass="GridView_item_center" Width="150px" />
            </asp:BoundField>
            <asp:BoundField HeaderText="工作内容">
                <HeaderStyle CssClass="GridView_head_grayblue" />
                <ItemStyle CssClass="GridView_item_left" />
            </asp:BoundField>
            <asp:BoundField HeaderText="工作分类">
                <HeaderStyle CssClass="GridView_head_grayblue" />
                <ItemStyle CssClass="GridView_item_center" Width="120px" />
            </asp:BoundField>            
            <asp:BoundField HeaderText="完成时间">
                <HeaderStyle CssClass="GridView_head_grayblue" />
                <ItemStyle CssClass="GridView_item_center" Width="120px" />
            </asp:BoundField>
            <asp:ButtonField ButtonType="Image" CommandName="Details" HeaderText="详细"
                ImageUrl="~/images/info.gif">
                <ItemStyle CssClass="GridView_item_center" />
                <HeaderStyle CssClass="GridView_head_grayblue" Width="65px" />
            </asp:ButtonField>
        </Columns>
        <PagerStyle HorizontalAlign="Right" />
    </asp:GridView>
    
    <div id="panDetail" runat="server" visible="false" enableviewstate="false">
        <p>&nbsp;</p>
        
        <script language="javascript">
            (new TitleBar('DetailBar', '详细信息')).showBar();
        </script>
        <table class="table_border_line" style="background: ffffff">
        <tr id="LabDutyScheduleRow" runat="server">
            <td style="width: 16px" class="">&nbsp; </td>
            <td class="" style="width: 128px; height: 26px">安排时间： </td>
            <td id="LabDutySchedule" class="" runat="server" enableviewstate="false"> -- </td>
        </tr>
        <tr>
            <td style="width: 16px" class="">&nbsp; </td>
            <td class="" style="width: 128px; height: 26px">工作分类： </td>
            <td id="LabItemType" class="" runat="server"> -- </td>
        </tr>
        <tr>
            <td style="width: 16px" class="">&nbsp; </td>
            <td class="" style="width: 128px; height: 26px">移交来源： </td>
            <td id="LabDevolveOnSource" class="" runat="server" enableviewstate="false"> -- </td>
        </tr>
        <tr id="LabSpecialTypeRow" runat="server">
            <td style="width: 16px" class="">&nbsp; </td>
            <td class="" style="width: 128px; height: 26px">任务类型： </td>
            <td id="LabSpecialType" class="" runat="server" enableviewstate="false">
                --
            </td>
        </tr>
        <tr id="LabAmountRow" runat="server">
            <td style="width: 16px" class="">&nbsp; </td>
            <td class="" style="width: 128px; height: 26px">金额： </td>
            <td class="">
                <table width="100%">
                    <tr>
                        <td width="300" id="LabAmount" runat="server" enableviewstate="false">--</td>
                        <td width="80">需要发票：</td>
                        <td id="LabInvoice" runat="server" enableviewstate="false">--</td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr id="LabDeliverRow" runat="server">
            <td style="width: 16px" class="">&nbsp; </td>
            <td class="" style="width: 128px; height: 26px">送货地点： </td>
            <td id="LabDeliver" class="" runat="server" enableviewstate="false">
                --
            </td>
        </tr>
        <tr>
            <td style="width: 16px" class="">&nbsp; </td>
            <td class="" style="width: 128px; height: 26px">工作内容： </td>
            <td id="LabContent" class="" runat="server" enableviewstate="false">--</td>
        </tr>
        <tr>
            <td style="width: 16px" class="">&nbsp; </td>
            <td class="" style="width: 128px; height: 26px">会员编号： </td>
            <td class="">
                <table width="100%">
                    <tr>
                        <td width="300" id="LabMemberNo" runat="server" enableviewstate="false">--</td>
                        <td width="80">房间编号：</td>
                        <td id="LabApartmentNo" runat="server" enableviewstate="false">--</td>
                    </tr>
                </table>
            </td>
        </tr>

        <tr>
            <td style="width: 16px" class="">&nbsp; </td>
            <td class="" style="width: 128px; height: 26px">完成时间： </td>
            <td id="LabFeedBackDate" runat="server" class="" enableviewstate="false">
                --
            </td>
        </tr>
        <tr>
            <td style="width: 16px" class="">&nbsp; </td>
            <td class="" style="width: 128px; height: 26px">工作反馈： </td>
            <td class="" id="LabFeedBack" runat="server" enableviewstate="false">
                --
            </td>
        </tr>
        </table>
    </div>

</asp:Content>